package edu.neu.cs6515.util;

/**
 * Allows anonymous implementations for various purposes
 *
 * @param <S>
 *            Return type of the implementation
 * @param <T>
 *            Type of the argument used in the implementation
 */
public interface Funct<S, T> {
    /**
     * All-Purpose function-object
     *
     * @param a
     *            first arg
     * @return S
     */
    S exec(T a);
}

